package io.dataease.api.xpack.share.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Schema(description = "产生安全分享链接")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GenerateSharingLink implements Serializable {
    @Serial
    private static final long serialVersionUID = 5723073697210793006L;
    @Schema(description = "资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long resourceId;

    @Schema(description = "有效时长(分钟为单位)")
    private Long validDuration;
}
